Alfresco Index of Web Scripts URI '/api/rootgroups/{shortName}'
Alfresco Community v3.2.0 (2039)
2 Web Scripts

Back to Web Scripts Home

Up to uri /api/rootgroups

Delete a root group.
DELETE /alfresco/service/api/rootgroups/{shortName}
Description:Delete a root group and all its dependents.
You must have "administrator" privileges to delete a group.
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/groups/rootgroups.delete
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/rootgroups.delete.desc.xml

Add a rootgroup
POST /alfresco/service/api/rootgroups/{shortName}
Description:Add a root group.
You must have "administrator" privileges to add a root group.
Returns STATUS_CREATED if a new group is created.
If the group already exists returns BAD_REQUEST. The following properties may be specified for the new root group.
displayName
The display name
Authentication:user
Transaction:required
Format Style:argument
Lifecycle:draft_public_api
Default Format:json
Id:org/alfresco/repository/groups/rootgroups.post
Description:classpath:alfresco/templates/webscripts/org/alfresco/repository/groups/rootgroups.post.desc.xml